package com.byzk.p2p.admin.borrow.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 借款标
 * 
 * @author suker.zhou
 *
 */

public class Borrow {
	
	public static final Map<String,String> paymentModeAll = new HashMap<String, String>();//还款方式
	public static final List<String> guaranteeAll = new ArrayList<String>();//担保方
	private Integer id;
	private Integer borrowApplyId;
	private String title;
	private String status;
	private String thumb;
	private Double amount;
	private Double tenderMoney;
	private Double notTenderMoney;
	private Double paymentTotal;
	private Double paymentFund;
	private Double paymentInterest;
	private Double notPaymentTotal;
	private Double notPaymentFund;
	private Double notPaymentInterest;
	private Integer period;
	private Double percent;
	private Double rewardPercent;
	private Double schedules;
	private Integer deadline;//投资期限
	private String dateUtil;
	private Integer paymentMode;//还款方式:1代表一次性还款，2代表等额本息，3代表按期付息到期还本
	private String flag;
	private Double min;
	private Double max;
	private Integer expire;
	private Date expireTime;
	private String attachId;
	private Integer verifyUser;
	private Date verfifyTime;
	private String verifyRemark;
	private String createIp;
	private Date createTime;
	private String updateIp;
	private Date updateTime;
	private Integer borrowGroupId;
	private String windControlDetail;// 风控详情
	private String remark;
	private String aptitudeAttachId;// 资质审核附件id
	private String descr;// 项目介绍
	private Integer userId;
	private Date checkTime;// 满标复审时间
	private String tenderPwd;// 投资密码
	private Integer newBorrowUserId;// 新手标投资id
	private String assuranceProvider;// 担保方
	private String borrowUse;// 借款标用途
	private Date timingShow;// 借款标定时显示时间
	private String code;
	private Integer productId;//产品类型id
	
	private String pMerBillNo;//商户订单号
	
	private String productName;//产品名称
	
	private Double assuranceMoney ; //担保费
	
	private String guaranteeName;//担保方名字
	private String personalInfo;//个人信息上传图片id
	private String capitalInfo;//资产信息上传图片id
	private String borrowDetail;//借入详情
	private String capitalVoucher;//资产凭证
	private String loanVisit;//贷后回访
	private String isBuyBack;//是否债权回购
	
	static{
		//还款方式
		paymentModeAll.put("1", "一次性还款");
		paymentModeAll.put("2", "等额本息");
		paymentModeAll.put("3", "按期付息到期还本");
		//担保方
		guaranteeAll.add("黑羊担保");
		guaranteeAll.add("承诚担保");
		guaranteeAll.add("品诚担保");
		guaranteeAll.add("众信担保");
		guaranteeAll.add("天诚担保");
	}
	
	public String getIsBuyBack() {
		return isBuyBack;
	}

	public void setIsBuyBack(String isBuyBack) {
		this.isBuyBack = isBuyBack;
	}

	public String getGuaranteeName() {
		return guaranteeName;
	}

	public void setGuaranteeName(String guaranteeName) {
		this.guaranteeName = guaranteeName;
	}

	public String getPersonalInfo() {
		return personalInfo;
	}

	public void setPersonalInfo(String personalInfo) {
		this.personalInfo = personalInfo;
	}

	public String getCapitalInfo() {
		return capitalInfo;
	}

	public void setCapitalInfo(String capitalInfo) {
		this.capitalInfo = capitalInfo;
	}

	public String getBorrowDetail() {
		return borrowDetail;
	}

	public void setBorrowDetail(String borrowDetail) {
		this.borrowDetail = borrowDetail;
	}

	public String getCapitalVoucher() {
		return capitalVoucher;
	}

	public void setCapitalVoucher(String capitalVoucher) {
		this.capitalVoucher = capitalVoucher;
	}

	public String getLoanVisit() {
		return loanVisit;
	}

	public void setLoanVisit(String loanVisit) {
		this.loanVisit = loanVisit;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getpMerBillNo() {
		return pMerBillNo;
	}

	public void setpMerBillNo(String pMerBillNo) {
		this.pMerBillNo = pMerBillNo;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	private Date payTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBorrowApplyId() {
		return borrowApplyId;
	}

	public void setBorrowApplyId(Integer borrowApplyId) {
		this.borrowApplyId = borrowApplyId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getTenderMoney() {
		return tenderMoney;
	}

	public void setTenderMoney(Double tenderMoney) {
		this.tenderMoney = tenderMoney;
	}

	public Double getNotTenderMoney() {
		return notTenderMoney;
	}

	public void setNotTenderMoney(Double notTenderMoney) {
		this.notTenderMoney = notTenderMoney;
	}

	public Double getPaymentTotal() {
		return paymentTotal;
	}

	public void setPaymentTotal(Double paymentTotal) {
		this.paymentTotal = paymentTotal;
	}

	public Double getPaymentFund() {
		return paymentFund;
	}

	public void setPaymentFund(Double paymentFund) {
		this.paymentFund = paymentFund;
	}

	public Double getPaymentInterest() {
		return paymentInterest;
	}

	public void setPaymentInterest(Double paymentInterest) {
		this.paymentInterest = paymentInterest;
	}

	public Double getNotPaymentTotal() {
		return notPaymentTotal;
	}

	public void setNotPaymentTotal(Double notPaymentTotal) {
		this.notPaymentTotal = notPaymentTotal;
	}

	public Double getNotPaymentFund() {
		return notPaymentFund;
	}

	public void setNotPaymentFund(Double notPaymentFund) {
		this.notPaymentFund = notPaymentFund;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Double getPercent() {
		return percent;
	}

	public void setPercent(Double percent) {
		this.percent = percent;
	}

	public Double getRewardPercent() {
		return rewardPercent;
	}

	public void setRewardPercent(Double rewardPercent) {
		this.rewardPercent = rewardPercent;
	}

	public Double getSchedules() {
		return schedules;
	}

	public void setSchedules(Double schedules) {
		this.schedules = schedules;
	}

	public Integer getDeadline() {
		return deadline;
	}

	public void setDeadline(Integer deadline) {
		this.deadline = deadline;
	}

	public String getDateUtil() {
		return dateUtil;
	}

	public void setDateUtil(String dateUtil) {
		this.dateUtil = dateUtil;
	}

	public Integer getPaymentMode() {
		return paymentMode;
	}

	public void setPaymentMode(Integer paymentMode) {
		this.paymentMode = paymentMode;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public Double getMin() {
		return min;
	}

	public void setMin(Double min) {
		this.min = min;
	}

	public Double getMax() {
		return max;
	}

	public void setMax(Double max) {
		this.max = max;
	}

	public Date getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}

	public String getAttachId() {
		return attachId;
	}

	public void setAttachId(String attachId) {
		this.attachId = attachId;
	}

	public Integer getVerifyUser() {
		return verifyUser;
	}

	public void setVerifyUser(Integer verifyUser) {
		this.verifyUser = verifyUser;
	}

	public Date getVerfifyTime() {
		return verfifyTime;
	}

	public void setVerfifyTime(Date verfifyTime) {
		this.verfifyTime = verfifyTime;
	}

	public String getVerifyRemark() {
		return verifyRemark;
	}

	public void setVerifyRemark(String verifyRemark) {
		this.verifyRemark = verifyRemark;
	}

	public String getCreateIp() {
		return createIp;
	}

	public void setCreateIp(String createIp) {
		this.createIp = createIp;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateIp() {
		return updateIp;
	}

	public void setUpdateIp(String updateIp) {
		this.updateIp = updateIp;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getExpire() {
		return expire;
	}

	public void setExpire(Integer expire) {
		this.expire = expire;
	}

	public Double getNotPaymentInterest() {
		return notPaymentInterest;
	}

	public void setNotPaymentInterest(Double notPaymentInterest) {
		this.notPaymentInterest = notPaymentInterest;
	}

	public Integer getBorrowGroupId() {
		return borrowGroupId;
	}

	public void setBorrowGroupId(Integer borrowGroupId) {
		this.borrowGroupId = borrowGroupId;
	}

	public String getWindControlDetail() {
		return windControlDetail;
	}

	public void setWindControlDetail(String windControlDetail) {
		this.windControlDetail = windControlDetail;
	}

	public String getAptitudeAttachId() {
		return aptitudeAttachId;
	}

	public void setAptitudeAttachId(String aptitudeAttachId) {
		this.aptitudeAttachId = aptitudeAttachId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getTenderPwd() {
		return tenderPwd;
	}

	public void setTenderPwd(String tenderPwd) {
		this.tenderPwd = tenderPwd;
	}

	public Integer getNewBorrowUserId() {
		return newBorrowUserId;
	}

	public void setNewBorrowUserId(Integer newBorrowUserId) {
		this.newBorrowUserId = newBorrowUserId;
	}

	public String getAssuranceProvider() {
		return assuranceProvider;
	}

	public void setAssuranceProvider(String assuranceProvider) {
		this.assuranceProvider = assuranceProvider;
	}

	public String getBorrowUse() {
		return borrowUse;
	}

	public void setBorrowUse(String borrowUse) {
		this.borrowUse = borrowUse;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getTimingShow() {
		return timingShow;
	}

	public void setTimingShow(Date timingShow) {
		this.timingShow = timingShow;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Double getAssuranceMoney() {
		return assuranceMoney;
	}

	public void setAssuranceMoney(Double assuranceMoney) {
		this.assuranceMoney = assuranceMoney;
	}

}
